package com.wu.ssm.study.ioc;

import com.wu.ssm.spring.annotion.MyBean;

/**
 * Created by wzf on 2018/11/7/007.
 */

@MyBean("dept")
public class Dept {

    private Long id;
    private String deptName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "id=" + id +
                ", deptName='" + deptName + '\'' +
                '}';
    }
}
